STEP 8: Time to make our next if statement. Remember, conditionals are in the LOGIC tab.

  • Go to and drag If to the bottom of your program, OUTSIDE the first if-statement.
  • Change the variable in the test line from choice to rand_answer. Change the test value from "yes" to 2.
  • Go to and drag out Say. Drop it indented inside of your second if statement.
  • Change the variable name in front of .say() from sprite to tim.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)